package cn.z2huo.demo.spring.junit5.service.impl.exception;

import org.springframework.stereotype.Service;

/**
 * <p>
 *
 * @author z2huo
 */
@Service
public class ExceptionServiceImpl {

    public void throwRuntimeException() {
        throw new RuntimeException("runtime exception");
    }

    public void dontThrow() {
        System.out.println("dont throw method");
    }

}
